package com.idp.web.test.entity;

import java.io.Serializable;

/**
 * 
 * 123123实体类.
 * 
 * <pre>
 * 	历史记录：
 * 	2017-06-02 Amber
 * 	新建文件
 * </pre>
 * 
 * @author
 * 
 * 		<pre>
 * SD
 * 	Amber
 * PG
 *	Amber
 * UT
 *
 * MA
 *         </pre>
 * 
 * @version $Rev$
 *
 *          <p/>
 *          $Id$
 *
 */
public class Warehouse implements Serializable {

	private static final long serialVersionUID = 1L;

	/** id */
	private Integer id;
	/** name */
	private String name;
	/** code */
	private String code;
	/** phone */
	private String phone;
	/** moreAddress */
	private String moreAddress;
	/** address */
	private String address;
	/** zipcode */
	private String zipcode;

	private String country;
	private String state;
	private String city;

	private Integer warehouseTypeId;

	private WarehouseType warehouseType;

	/**
	 * 方法: 取得Integer
	 * 
	 * @return: Integer id
	 */
	public Integer getId() {
		return this.id;
	}

	/**
	 * 方法: 设置Integer
	 * 
	 * @param: Integer
	 *             id
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * 方法: 取得String
	 * 
	 * @return: String name
	 */
	public String getName() {
		return this.name;
	}

	/**
	 * 方法: 设置String
	 * 
	 * @param: String
	 *             name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * 方法: 取得String
	 * 
	 * @return: String code
	 */
	public String getCode() {
		return this.code;
	}

	/**
	 * 方法: 设置String
	 * 
	 * @param: String
	 *             code
	 */
	public void setCode(String code) {
		this.code = code;
	}

	/**
	 * 方法: 取得String
	 * 
	 * @return: String phone
	 */
	public String getPhone() {
		return this.phone;
	}

	/**
	 * 方法: 设置String
	 * 
	 * @param: String
	 *             phone
	 */
	public void setPhone(String phone) {
		this.phone = phone;
	}

	/**
	 * 方法: 取得String
	 * 
	 * @return: String moreAddress
	 */
	public String getMoreAddress() {
		return this.moreAddress;
	}

	/**
	 * 方法: 设置String
	 * 
	 * @param: String
	 *             moreAddress
	 */
	public void setMoreAddress(String moreAddress) {
		this.moreAddress = moreAddress;
	}

	/**
	 * 方法: 取得String
	 * 
	 * @return: String address
	 */
	public String getAddress() {
		return this.address;
	}

	/**
	 * 方法: 设置String
	 * 
	 * @param: String
	 *             address
	 */
	public void setAddress(String address) {
		this.address = address;
	}

	/**
	 * 方法: 取得String
	 * 
	 * @return: String zipcode
	 */
	public String getZipcode() {
		return this.zipcode;
	}

	/**
	 * 方法: 设置String
	 * 
	 * @param: String
	 *             zipcode
	 */
	public void setZipcode(String zipcode) {
		this.zipcode = zipcode;
	}

	public WarehouseType getWarehouseType() {
		return warehouseType;
	}

	public void setWarehouseType(WarehouseType warehouseType) {
		this.warehouseType = warehouseType;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public Integer getWarehouseTypeId() {
		return warehouseTypeId;
	}

	public void setWarehouseTypeId(Integer warehouseTypeId) {
		this.warehouseTypeId = warehouseTypeId;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	@Override
	public String toString() {
		return "Warehouse [id=" + id + ", name=" + name + ", code=" + code + ", phone=" + phone + ", moreAddress="
				+ moreAddress + ", address=" + address + ", zipcode=" + zipcode + ", warehouseTypeId=" + warehouseTypeId
				+ ", warehouseType=" + warehouseType + "]";
	}

}
